# -*- coding: utf-8 -*-
from socket import *

def get_info(host, port):
    s = socket(AF_INET, SOCK_STREAM)
    s.connect((host, port))
    s.send('hi')
    d = s.recv(256)
    s.close()
    print d



#for i in range(1):
while 1:
    get_info('127.0.0.1', 80)
    raw_input()
